html, body {
  width: 100%;
  height: 100%;
  //min-width: 1200px;
  //min-height: 650px;
  background-color: #2e477e;
  color: white;
}

#root {
  width: 100%;
  height: 100%;
  color: white;
  background-color: transparent;
}

.ant-app, .ant-pro, .ant-pro-layout {
  height: 100%;
}

.ant-pro-layout-content {
  padding-inline: unset !important;
  padding-block: unset !important;
}

.ant-image-preview-body {
  height: calc(100% - 50px) !important;
  top: 50px !important;
}

.ant-image-preview-operations-wrapper {
  top: 50px;
  display: flex;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
}

.ant-modal-content {
  background-color: #293D76 !important;

  .ant-modal-header {
    background-color: #293D76 !important;
  }
}

.ant-pro-table {
  .ant-pro-table-search, .ant-pro-card {
    background: rgba(25, 38, 86, 0.9);
  }

  .ant-table {
    border-radius: 0 !important;
    background: unset !important;

    a {
      color: #fff1f0;

      &:hover {
        color: #ffec3d;
      }
    }
  }

  .ant-table-wrapper table {
    border-radius: 0 !important;
  }

  .ant-table-thead > tr > th {
    background: #233770;
    border-right: none !important;
    border-bottom: none !important;

    &:first-child {
      border-start-start-radius: 0 !important;
    }

    &:last-child {
      border-start-end-radius: 0 !important;
    }

    &::before {
      display: none;
    }
  }

  .ant-table-tbody > tr {
    background: #233770;

    > td {
      border-bottom: none !important;

      &.ant-table-cell-row-hover {
        background: rgba(0, 0, 0, .5) !important;
      }
    }
  }

  .ant-table-tbody > tr:nth-child(odd) {
    background: #293D76 !important;
  }
}

.ant-input, .ant-radio-button-wrapper, .ant-pagination-item, .ant-input-number, .ant-input-number-handler-wrap {
  background: #293D76 !important;
}

.ant-select-dropdown, .ant-dropdown-menu, .ant-dropdown-arrow::before, .ant-popover-inner, .ant-picker-panel-container, .ant-picker-range-arrow::before {
  background: #40589B !important;
}

.ant-input-number,.ant-input-number-group-addon {
  border-color: #40589B !important;
}

.ant-input-number-handler-wrap {
  .ant-input-number-handler-up {
    border-inline-start: 1px solid #40589B !important;
  }

  .ant-input-number-handler-down {
    border-inline-start: 1px solid #40589B !important;
    border-block-start: 1px solid #40589B !important;
  }
}

.ant-select-item-option-selected {
  background-color: #1677ff !important;
}

.ant-radio-inner {
  background: #293D76 !important;
  border: 1px solid #40589B !important;
}

.ant-radio-button-wrapper {
  border-color: #40589B !important;

  &::before {
    background-color: #40589B !important;
  }

  &.ant-radio-button-wrapper-checked, &:hover {
    border-color: #3c89e8 !important;
    color: #3c89e8 !important;

    &::before {
      background-color: #3c89e8 !important;
    }
  }
}

.ant-tabs-content-holder {
  border-color: #40589B !important;
}

.ant-picker, .ant-input-affix-wrapper, .ant-btn-default, .ant-select-selector {
  background: #293D76 !important;
  border: 1px solid #40589B !important;
}


.ant-btn-default:not(:disabled):hover {
  color: #ffec3d !important;
}

.mouseColor:hover{
  color: #ffec3d !important;
  fill: #ffec3d !important;
}

.preview {
  width: 100%;
  height: 300px;
  flex: 0 0 300px;
  background-color: #293d76;
  z-index: 100000;
  position: relative;
}

/*
视频会议按钮svg颜色
 */
.imgStyle {
  display: flex;
  justify-content: center;
  align-items: center;

  path {
    fill: #ffffff;
  }

  &:hover {
    path {
      fill: #ffec3d; /* 设置SVG的填充颜色 */
    }
  }
}

.imgCheckStyle {
  display: flex;
  justify-content: center;
  align-items: center;
  border-color: #3c89e8 !important;

  path {
    fill: #ffffff;
  }

  &:hover {
    path {
      fill: #ffec3d; /* 设置SVG的填充颜色 */
    }
  }
}

/* 修改滚动条样式 */
::-webkit-scrollbar {
  width: 10px; /* 滚动条宽度 */
}

::-webkit-scrollbar-track {
  background: #2e477e; /* 滚动条背景色 */
  border-radius: 5px; /* 滑块圆角 */
}

::-webkit-scrollbar-thumb {
  background: #1c295a; /* 滑块颜色 */
  border-radius: 5px; /* 滑块圆角 */
}

//::-webkit-scrollbar-thumb:hover {
//  background: #555; /* 悬停时滑块颜色 */
//}
//
///* 修改滑块尺寸 */
//::-webkit-scrollbar-thumb {
//  min-height: 20px; /* 最小滑块高度 */
//}
//
///* 修改滑块样式 */
//::-webkit-scrollbar-thumb {
//  background: linear-gradient(#888, #555); /* 渐变背景色 */
//  border: 1px solid #777; /* 滑块边框 */
//}
//
//::-webkit-scrollbar-thumb:hover {
//  background: linear-gradient(#555, #333); /* 悬停时渐变背景色 */
//}